//
//  AcknowledgementsViewController.m
//  iSeeColor
//
//  Created by Wyatt Gosling on 11/7/12.
//  Copyright (c) 2012 Wyatt Gosling. All rights reserved.
//

#import "AcknowledgementsViewController.h"

@interface AcknowledgementsViewController ()

@end

@implementation AcknowledgementsViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
}

- (void)viewDidUnload
{
    [super viewDidUnload];
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

//method to redirect user to GPUImage url
- (IBAction) gpuimageButtonPressed
{
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://github.com/BradLarson/GPUImage"]];
}

//method to redirect user to daltonize.org url
- (IBAction) daltonizeWebsitePressed
{
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.daltonize.org/"]];
}

@end
